package com.ikun.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class TbUser {

    private Long id;
    private String nickname;
    private String pic;
    private String realname;
    private String account;
    private String pwd;
    private String sex;
    private String email;
    private String phone;
    private String department;
    private String profession;
    private String classes;
    private BigDecimal balance;
    private Boolean isadmin;
    private Boolean state;
    private String createtime;

    private int cardnum;//通过任务已获得的好人卡数量
    private int noreadnum;//未读信息数量

    public TbUser(Long id, String nickname, String pic, String realname, String account, String pwd, String sex, String email, String phone, String department, String profession, String classes, BigDecimal balance, Boolean isadmin, Boolean state, String createtime, int cardnum, int noreadnum) {
        this.id = id;
        this.nickname = nickname;
        this.pic = pic;
        this.realname = realname;
        this.account = account;
        this.pwd = pwd;
        this.sex = sex;
        this.email = email;
        this.phone = phone;
        this.department = department;
        this.profession = profession;
        this.classes = classes;
        this.balance = balance;
        this.isadmin = isadmin;
        this.state = state;
        this.createtime = createtime;
        this.cardnum = cardnum;
        this.noreadnum = noreadnum;
    }

    public TbUser(String nickname, String pic, String realname, String account, String pwd, String sex, String email, String phone, String department, String profession, String classes, BigDecimal balance, Boolean isadmin, Boolean state, String createtime, int cardnum, int noreadnum) {
        this.nickname = nickname;
        this.pic = pic;
        this.realname = realname;
        this.account = account;
        this.pwd = pwd;
        this.sex = sex;
        this.email = email;
        this.phone = phone;
        this.department = department;
        this.profession = profession;
        this.classes = classes;
        this.balance = balance;
        this.isadmin = isadmin;
        this.state = state;
        this.createtime = createtime;
        this.cardnum = cardnum;
        this.noreadnum = noreadnum;
    }

    public TbUser() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession == null ? null : profession.trim();
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes == null ? null : classes.trim();
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Boolean getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Boolean isadmin) {
        this.isadmin = isadmin;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public int getCardnum() {
        return cardnum;
    }

    public void setCardnum(int cardnum) {
        this.cardnum = cardnum;
    }

    public int getNoreadnum() {
        return noreadnum;
    }

    public void setNoreadnum(int noreadnum) {
        this.noreadnum = noreadnum;
    }
}